package Ex1;

import java.util.Arrays;

public class Array1 {
    public static void main(String[]args){
       int[] a = {1,2,5,6,456,84,6};
       int[] b = new int[a.length];
       System.arraycopy(a,0,b,0,a.length);
       System.out.println(Arrays.toString(b));


    }
}
